<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="/tb_hello/Public/Admin/js/html5.js"></script>
    <script type="text/javascript" src="/tb_hello/Public/Admin/js/respond.min.js"></script>
    <script type="text/javascript" src="/tb_hello/Public/Admin/js/PIE_IE678.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet"
          href="/tb_hello/Public/Admin/css/H-ui.css"/>
    <link type="text/css" rel="stylesheet"
          href="/tb_hello/Public/Admin/css/H-ui.admin.css"/>
    <link type="text/css" rel="stylesheet"
          href="/tb_hello/Public/Admin/font/font-awesome.min.css"/>
    <script type="text/javascript" src="/tb_hello/Public/Admin/js/jquery.min.js"></script>


    <!--[if IE 7]>
    <link href="/tb_hello/Public/Admin/font/font-awesome-ie7.min.css" rel="stylesheet" type="text/css"/>
    <![endif]-->
    <title>点卡管理</title>
</head>
<body>
<nav class="Hui-breadcrumb">
    <i class="icon-home"></i> 首页 <span class="c-gray en">&gt;</span> 用户中心
    <span class="c-gray en">&gt;</span> 用户管理 <a
        class="btn btn-success radius r mr-20"
        style="line-height:1.6em;margin-top:3px"
        href="javascript:location.replace(location.href);" title="刷新"><i
        class="icon-refresh"></i></a>
</nav>
<div class="pd-20">


    <div>
        <form class="form-inline" action="/tb_hello/index.php/Admin/addCard" method="GET">
            <div class="form-group" >

                <input type="text" placeholder="时间" name="time" class="form-control">
                <input type="text" placeholder="数量" name="num">
                <input type="submit" value="提交" class="btn btn-success radius"/>


            </div>
        </form>


    </div>



    <table
            class="table table-border table-bordered table-hover table-bg table-sort" style="width: 100%;">
        <thead>
        <tr class="text-c">
            <th width="25"><input type="checkbox" name="" value=""></th>
            <th width="80">ID</th>
            <th width="80">点卡号</th>
            <th width="100">时间</th>
            <th width="70">状态</th>
        </tr>
        </thead>
        <tbody>
        <?php if(is_array($cardlist)): $i = 0; $__LIST__ = $cardlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$cardlist): $mod = ($i % 2 );++$i;?><tr class="text-c">
                <td><input type="checkbox" value="1" name=""></td>

                <td><?php echo ($cardlist["id"]); ?></td>
                <td>
                   <?php echo ($cardlist["carid"]); ?>
                </td>

                <td class="text-c"><?php echo ($cardlist["time"]); ?></td>

                <td class="user-status">
                    <?php echo ($cardlist["user"]); ?>
                </td>



            </tr><?php endforeach; endif; else: echo "" ;endif; ?>
        </tbody>
    </table>


    <div style="text-align: center;">


        <div class="page">
            <?php echo ($show); ?>
        </div>
        <form name="searchForm" method="post"></form>
        <link href="/tb_hello/Public/Admin/css/bootstrap.css" rel="stylesheet" type="text/css"/>

        <script type="text/javascript" src="/tb_hello/Public/Admin/js/bootstrap.js"></script>
        <script type="text/javascript" src="/tb_hello/Public/Admin/js/my_page.js"></script>

        <script type="text/javascript">
            $(function () {
                $(".pagination").my_page("searchForm");

            });
        </script>

    </div>


</div>

<script type="text/javascript" src="/tb_hello/Public/Admin/layer/layer.min.js"></script>
<script type="text/javascript" src="/tb_hello/Public/Admin/js/pagenav.cn.js"></script>
<script type="text/javascript" src="/tb_hello/Public/Admin/js/H-ui.js"></script>
<script type="text/javascript"
        src="plugin/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/tb_hello/Public/Admin/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="/tb_hello/Public/Admin/js/H-ui.admin.js"></script>

<style>
    /**分页与选定删除**/

    .page {
        height: 40px;
        margin: 20px 0;

        display: inline-block;
        *display: inline;
        margin-bottom: 0;
        margin-left: 0;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        *zoom: 1;
        -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);

        border-left: 1px solid #dddddd;
        /*border-left-width: 1px;*/
    }

    .page .current {
        color: #999999;
        cursor: default;
        background-color: transparent;
        float: left;
        padding: 0 14px;
        line-height: 38px;
        text-decoration: none;
        border: 1px solid #dddddd;
        border-left-width: 0;
    }

    .page a {

        float: left;
        padding: 0 14px;
        line-height: 38px;
        text-decoration: none;
        background-color: #ffffff;
        border: 1px solid #dddddd;
        border-left-width: 0;
    }

</style>

</body>
</html>